package org.com.app.knock.activity;

import org.com.app.knock.fragment.RegisterFragment;

import z.lib.base.LogUtils;

import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.WindowManager;

import com.acv.libs.nbase.BaseActivity;
import com.acv.libs.nbase.BaseFragment;
import com.knock.app.R;

public class RegisterActivity extends BaseActivity {
	private static final String TAG = "RegisterActivity";
	public static BaseFragment Page;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Page = new RegisterFragment();
		changeFragemt(Page);
		openFragmentListener(findViewById(R.id.mFrament), Page.getAnimationAction());
		getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
	}

	@Override
	public void configMenuleft() {}


	@Override
	protected void onActivityResult(int requestCode, int resultCode, Intent data) {
		super.onActivityResult(requestCode, resultCode, data);
		if (requestCode == RegisterFragment.REQUEST_CODE_IMAGE && data.getData() != null) {
			Uri uriImage = data.getData();
			LogUtils.e("eeeeee","uriImage==="+ uriImage.toString());
		}	
	}

	
	
}